.home {
  background: #f4f3f3;
  .header {
    position: relative;
    .return {
      position: absolute;
      top: 18px;
      left: 18px;
      font-size: 24px;
      color: #fff;
    }
    .bg-img {
      height: 160px;
      width: 100%;
      border-radius: 0 0 20px 20px;
    }
    .title {
      position: absolute;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -85%);
      img {
        width: 120px;
        height: 75px;
      }
    }
  }
  .main-box {
    height: calc(100vh - 165px);
    overflow: auto;
    margin-top: -50px;
  }
  .form {
    padding: 0 16px;
    position: relative;
    .address-right {
      color: #1c75bc;
    }
    .address-icon {
      display: inline;
    }
    .goods-time {
      text-align: right;
      .goods-time-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
      }
    }
    .time {
      .van-icon {
        display: inline-block;
      }
    }
    .blessings {
      :deep(.van-field__control) {
        color: red !important;
      }
    }
    .upload-code-title {
      display: flex;
      justify-content: space-between;
      .code {
        color: #1c75bc;
      }
    }
    .upload {
      position: relative;
      text-align: center;
      padding: 10px 0;
      .upload-bg {
        width: 100px;
        height: 100px;
        padding: 10px;
        // background-image: url("/img/upload.png");
        background-size: 100% 100%;
        margin: 0 auto;
        position: relative;
        .upload-img {
          width: 100%;
          height: 100%;
        }
        .view {
          position: absolute;
          right: 6px;
          top: 6px;
          z-index: 2;
        }
      }
    }
    .line {
      position: relative;
      border-top: 2px dashed #f4f3f3;
      .circle {
        display: inline-block;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background: #f4f3f3;
        position: absolute;
        &.left {
          left: -22px;
          bottom: -10px;
        }
        &.right {
          right: -22px;
          bottom: -10px;
        }
      }
    }
    .goods-list {
      display: flex;
      flex-wrap: nowrap;
      overflow: auto;
      padding-top: 16px;
      position: relative;
      &::-webkit-scrollbar {
        width: 0;
      }
      .goods-item {
        border: 1px solid #eee;
        text-align: center;
        width: 120px;
        margin-right: 10px;
        position: relative;
        box-shadow: 4PX 0 10PX 0 rgba(0, 0, 0, 0.3);
        &.checked {
          border-color: #ff3102;
        }
        .sold-out {      
          width: 22px;
          height: 0px;
          border: 22px solid #000;
          border-top-color: transparent;
          border-bottom-color: #f46863;
          border-left-color: transparent;
          border-right-color: transparent;
          color: #fff;
          font-size: 12px;
          position: absolute;
          transform: rotate(45deg);
          top: -15px;
          right: -26px;
          white-space: nowrap;
          span {
            position: absolute;
            top: 5px;
            left: -8px;
          }
        }
        .goods-img {
          width: 120px;
          height: 120px;
          border-bottom: 1px solid #999;
        }
        .circle-icon {
          display: inline-block;
          width: 12px;
          height: 12px;
          border: 1px solid #999;
          border-radius: 50%;
        }
      }
    }
  }
  .form-box {
    border-radius: 12px;
    background: #fff;
    padding: 12px 0;
  }
  .upload-box {
    border-radius: 12px;
    background: #fff;
    padding: 12px;
  }
  .checkbox-group {
    padding: 0 20px;
    .van-checkbox {
      line-height: 30px;
      height: 30px;
    }
  }
  .submit-tip {
    padding: 20px;
    p {
      margin-top: 10px;
    }
  }
}